/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019.
 * Description: support getting gic type
 * Author: yanbo
 * Create: 2019-09-24
 */

#ifndef __LINUX_HAL_GIC_H
#define __LINUX_HAL_GIC_H
/* sync with gic_type_info */
enum rtos_gic_type {
	HISI_TOTEM_V1,
	HISI_TOTEM_V2,
	HISI_SIC_V100,
	RTOS_GIC_TYPE_NONE
};

struct rtos_gic_type_info {
	char *name;
	enum rtos_gic_type type_num;
};

extern enum rtos_gic_type rtos_gic_type;
extern void get_gic_type(struct device_node *gic);
#endif
